/**
 * 认证信息
 */
export interface AuthorizeCode {
	code: string;
}
/**
 * accessToken信息
 */
export interface TokenData {
	AccessToken: string;
	ExpiresIn: string;
	RefreshToken: string;
}
/**
 * 登录请求参数
 */
export interface LoginData {
	//用户名
	account: string;
	// 密码
	pwd: string;
	//验证码缓存key
	code?: string;
	//验证码
	key?: string;
}

/**
 * 移动端传参数
 */
export interface RouterData  {
	//类型
	sessionType?: string;
	character?: string;
	request?: string;
}




/**
 * 用户基本信息
 */
export interface BaseUserInfo {
	Account: string;
	Avatar: string;
	DeptId: string;
	DeptName: string;
	Email: string;
	IsAdmin: string;
	UserCode: string;
	UserId: string;
	UserName: string;
}
//对象类型 
export interface CreatBase {
	knowledge_base_name: string,
	kb_title: string,
	deptDescribe: string,
}
export interface sdsdsds {
	page: string,
	page_size: string,
	search: string,
}
/**
 * 更新知识库介绍信息
 */
export interface RenewBase {
	kb_name:string,
	kb_info:string,
	kb_title:string,
}
/**
 * 删除知识库内的文件
 */
export interface DocsFiles {
	kb_name:string,
	file_names:string[],
	delete_content:boolean,
	not_refresh_vs_cache:boolean,
}
/**
 * 上传文件格式
 */
export interface Files {
	files:[],
	knowledge_base_name :string,
}
/**
 * 知识库参数
 */
export interface forminfo {
    kb_name: string,
    kb_title: string,
    type: string[],
    file_names:string[],
    delete_content:boolean,
    not_refresh_vs_cache:boolean,
    id: string,
    kb_info: string,
}
/**
 * 知识库参数
 */
 export interface FilesType {
	kb_name:string,
	file_name:string,
	token:string
}
/**
 * 登录接口用户信息
 */
export interface UserInfo extends BaseUserInfo {
	data: any;
	IndexPage: string;
	IsClockIn: string;
	IsEditPhone: string;
	MerchantKey: string;
	Phone: string;
	PrivilegeKey: string[];
	Pwd: string;
	QQ: string;
	Sex: string;
	SexName: string;
	SoftPhone: string;
	Wechat: string;
	WorkingGroup: string;
	WxIndexPage: string;
	isUserCti: number;
}
/**
 * AI 对话组件数组
 */
export interface DialogueList {
	ai:string;
	user: string;
	aiassist: string;
	loat: boolean;
	titleshow: boolean;
	isshow: boolean;
	ailoading: boolean;
	emotion: any;
}
export interface ModileList {
    emotion: string;
    input_content: any;
	output_content:string;
	userinput_content: string;
	loat: boolean;
}
/**
 * 历史会话组件数组 
 */
export interface SessionList {
	address:string;
	create_time: string;
	session_code: string;
	session_id: string;
}
export interface Loading {
	loading: boolean;
	// 其他属性...
  }
/**
 *  请求AI参数
 */
export interface Params {
	session_code: string;
	question: any; // 或具体类型
	session_type: number; // 保持原类型
  }
/**
 * 反应类别 
 */
export interface ReactionList {
	value:string;
	label: string;
}

/**
 * 反应类别 
 */
export interface ConversationList {
	session_code:string;
	session_id: string;
}
// types.ts 或其他类型定义文件
export interface MyInjection {
    onClickStart: (param: boolean) => void;
}
